package annotation;

public class ClassTest {
    public static void main(String[] args) {
        try {
            ClassTest classTest = new ClassTest();
            Class<?> aClass = Class.forName("annotation.ClassTest");
            Class<ClassTest> classTestClass = ClassTest.class;
            Class<? extends ClassTest> aClass1 = classTest.getClass();
            System.out.println(classTestClass==aClass1);
            System.out.println(aClass==classTestClass);
            Class<Integer> integerClass1 = Integer.class;
            System.out.println(integerClass1);
            Class<Integer> integerClass = int.class;
            System.out.println(integerClass);
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
        }
    }
}
